﻿<html>
    <head>
        <title>Kho | Sách</title>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url("web/css/qlnhap.css");?>"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url("web/css/sach.css");?>"/>
        <script language="javascript" src="<?php echo base_url("web/js/jquery.js");?>"></script>
    </head>
    <body>
        <div id="header">
            <h1 align="center">DEV - VITBAY.VN</h1>
        </div>
        <div id="menu">
            <a href="<?php echo site_url("home");?>">Home</a>|
            <a href="<?php echo site_url("home/ql_nhap");?>">Kho</a>|
            <a href="">Thêm mới sản phẩm</a>|
            <a href="">Danh sách nhà cung cấp</a>|
            <a href="baocao.php">Báo cáo <img src='<?php echo base_url("img/new.gif");?>' height='15px' width='40px'/></a>
        </div>
        <div class="viewinfo">
            <!-- images -->
            <div class="image">
                <img src="<?php echo base_url("web/photos/".$picture);?>" width="250px" height="400px"/>
            </div>
            <div class="viewcontent">
                <div id="infosach">
                    <b style="font-size: 15px;"><?php echo $mes;?></b>
                    <form name="form" action="<?php echo site_url("home/Action/".$id."/".$status);?>" method="POST">
                        <table border="1" width="650px" style="border-collapse: collapse;">
                            <tr>
                                <td>ID</td>
                                <td>
                                    <input type="hidden" name="id" value="<?php echo $id;?>"/><?php echo $id;?></td>
                            </tr>
                            <tr>
                                <td>Tên sách</td>
                                <td>
                                    <input type="hidden" name="tensach" value="<?php echo  $ten;?>"/><?php echo $ten;?></td>
                            </tr>
                            <tr>
                                <td>Số lượng</td>
                                <td>
                                    <input type="hidden" name="soluong" value="<?php echo  $soluong; ?>"/><?php echo $soluong;?></td>
                            </tr>
                            <tr>
                                <td>Giá bìa</td>
                                <td>
                                    <input type="hidden" name="gia" value="<?php echo  $gia; ?>"/><?php echo $gia;?></td>
                            </tr>
                            <tr>
                                <td>Giá bán</td>
                                <td>
                                    <input type="hidden" name="giaban" value="<?php echo  $giaban; ?>"/><?php echo $giaban;?></td>
                            </tr>
                            <tr>
                                <td>Tác giả</td>
                                <td>
                                    <input type="hidden" name="tacgia" value="<?php echo  $tacgia; ?>"/><?php echo $tacgia;?></td>
                            </tr>
                            <tr>
                                <td>Picture</td>
                                <td>
                                    <input type="hidden" name="picture" value="<?php echo  $picture; ?>"/><?php echo $picture;?></td>
                            </tr>
                            <tr>
                                <td>NXB</td>
                                <td>
                                    <input type="hidden" name="nxb" value="<?php echo  $nxb;?>"/><?php echo $nxb;?></td>
                            </tr>
                            <tr>
                                <td>Năm XB</td>
                                <td>
                                    <input type="hidden" name="namxb" value="<?php echo  $namxb;?>"/><?php echo $namxb;?></td>
                            </tr>
                            <tr>
                                <td>Loại sách</td>
                                <td>
                                    <input type="hidden" name="loaisach" value="<?php echo  $loaisach;?>"/><?php echo $loaisach;?></td>
                            </tr>
                            <tr>
                                <td>Dành cho</td>
                                <td>
                                    <input type="hidden" name="danhcho" value="<?php echo  $danhcho;?>"/><?php echo $danhcho;?></td>
                            </tr>
                            <tr>
                                <td>Ngày nhập</td>
                                <td>
                                    <input type="hidden" name="ngaynhap" value="<?php echo  $ngaynhap;?>"/><?php echo $ngaynhap;?></td>
                            </tr>
                            <tr>
                                <td>Mô tả</td>
                                <td>
                                    <input type="hidden" name="mota" value="<?php echo  $mota;?>"/><?php echo $mota;?></td>
                            </tr>
                        </table>    
                        <p>
                            <input type="submit" name="ok" value="OK"/>
                            <input type="button" name="but" value="Back" onclick="window.history.go(-1);"/>
                        </p>
                    </form>
                </div>
            </div>
        </div><!--End #viewinfo-->
        
        <div style="clear: both;">
            Copyright...
        </div>
    </body>
</html>